home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / gigo0714.zip / SPEED.FAQ < prev    next >
Text File  |  1996-07-14  |  4KB  |  81 lines

  1.  
  2.     07/14/96:  New speedup option:  Look for "FASTLOOKUP" below!
  3.  
  4. Q:  How can I speed GIGO up?
  5.  
  6. A:  Things you can do to speed GIGO up:
  7.  
  8.  o  Usage of INCLUDE statements is discouraged, as it takes longer to
  9.     locate and read in all of your INCLUDE'd segments.  Placing everything
  10.     into one config file will help speed things up for you.
  11.  
  12.  o  Disable on the logging that you don't need.  If you have problems,
  13.     re-enable the logging that is appropriate for the job at hand.
  14.     Logging _really_ slows things down.  Don't forget that you have
  15.     multiple log files to play with..
  16.  
  17.  o  Cut down on the KEEP, KILL, and HIDE statements -
  18.     only use what you need.  (Affects _every_ message!)
  19.  
  20.  o  If you don't need the FIDOECHOS functionality, comment
  21.     it out.  Saves memory, and saves time converting newsgroups.
  22.  
  23.  o  Are you getting everthing from several heiarchies?
  24.     Use wildcards instead!  Fewer searches mean faster conversion.
  25.     Ie,
  26.       = sac.general
  27.       = sac.swap
  28.       = sac.test
  29.     and
  30.       + sac.*
  31.     are equivalent.  The second example is slightly faster, even though
  32.     it has to check a wildcard, because it has fewer lines to buffer
  33.     through and check.
  34.  
  35.  o  Even though   "+ newsgroup.name"   and  "= newsgroup.name"
  36.     are (roughly) the same, use the "= newsgroup.name" method instead
  37.     when possible.  The "+" syntax tells GIGO to keep checking,
  38.     for other mappings that might be more suitable.  The "=" syntax says,
  39.     'hey, we've got the one we want, stop checking!'.
  40.  
  41.  
  42.  o  Are you using wildcards at all?  If you don't need them, but you
  43.     still have a large number of newsgroups (ie, 100+), you can 
  44.     benefit by trading in features to get speed instead.
  45.  
  46.     1: Add "FASTLOOKUP" to the top of mapping.cfg on a line by itself.
  47.     2: Make sure all lines are like this:
  48.  
  49.         = alt.newsgroup.name ALT.ECHOMAIL.NAME
  50.    
  51.        (It _is_ okay to use "@" mapping.cfg entries - but you _have_ to
  52.        give up "!", "+", and "-", for this speedup to work, since it's
  53.        bypassing the mapping.cfg parser and instead using a super-fast
  54.        lookup routine).
  55.  
  56.        Make sure you watch your gateway run - if you make mistakes,
  57.        GIGO will be less forgiving, since the parser will have
  58.        been removed for a significant part of the lookups!
  59.        For those of you technically inclined, it will be using 
  60.        a Pratt-Boyer-Moore search algorithm.
  61.  
  62.        On gigo.com's gateway, this option doubled my speed, for a gateway
  63.        running around 350 newsgroups.  Your mileage may vary, worse
  64.        or better, mainly depending on what search strings are involved..
  65.  
  66.  o  If you are using PARTIAL-35  (Partial FSC-35), and don't really need
  67.     it, you can turn it off for a bit of a speed increase due to GIGO
  68.     not having to actually compare the fido header and the FSC-35 extentions.
  69.     (If you actually find this feature useful, however, it's well worth
  70.     the speed hit..)
  71.  
  72.  o  Turn off the video.  NOVIDEO in the config, or /NOVIDEO on the command
  73.     line, will tell GIGO to turn off video output.  The normal startup
  74.     screens will still be shown, but once the gateway actually
  75.     starts processing mail, the video gets turned off.  My tests have
  76.     shown this to speed things up by about 25%.  Do this _after_ you've
  77.     got the gateway up and running.  Between this, and disabling your
  78.     logging, you can really speed things up.
  79.  
  80.  o  Don't use virtual memory unless you really need it!
  81.